#!/bin/bash
 
perl -pi -e 's/PATTERN1/PATTERN2/g' FILE 
